package com.hunter.pojo;

import javax.sql.DataSource;
import java.util.HashMap;
import java.util.Map;

/**
 * @Classname Configuration
 * @Description TODO
 * @Date 2021/7/22 22:15
 * @Created by haojie.liao
 */
public class Configuration {

    private DataSource dataSource;

    /**
     * statementId  value:封装好的mapperStatement对象
     */
    Map<String,MapperStatement> mapperStatementMap = new HashMap<>();;

    public DataSource getDataSource() {
        return dataSource;
    }

    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
    }

    public Map<String, MapperStatement> getMapperStatementMap() {
        return mapperStatementMap;
    }

    public void setMapperStatementMap(Map<String, MapperStatement> mapperStatementMap) {
        this.mapperStatementMap = mapperStatementMap;
    }
}
